package com.java.cloud.service;

import com.java.cloud.dao.SysChannelInfoDao;
import com.java.cloud.entity.SysChannelInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName: sysChannelInfoServiceImpl
 * @Description:
 * @Version: v1.0.0
 * @Author: Fu Hao
 * @Date: 2019/11/9 0009 下午 4:54
 * Modification History:
 * Date           Author      Version     Description
 * -------------------------------------------------------------
 * 2019/11/9 0009        Fu Hao      v1.0.0         创建
 */
@Service("sysChannelInfoService")
public class sysChannelInfoServiceImpl implements SysChannelInfoService {

    @Autowired
    private SysChannelInfoDao sysChannelInfoDao;


    @Override
    public void insertChannel(SysChannelInfo sysChannelInfo) {
        sysChannelInfoDao.insertChannel(sysChannelInfo);
    }

    @Override
    public void updSaleId(String saleRangeId, String channelId) {
        sysChannelInfoDao.updSaleId(saleRangeId,channelId);
    }

    @Override
    public void updSellAreaId(String sellAreaId, String channelId) {
       sysChannelInfoDao.updSellAreaId(sellAreaId,channelId);
    }
}
